home *** CD-ROM | disk | FTP | other *** search
/ Programming Windows 95 with MFC / Programming Windows 95 with MFC (Microsoft Programming Series)(097-0001465)(1996).iso / CODE / Chap10 / HexDump / HexDoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-05  |  486 b   |  22 lines

  1. //***********************************************************************
  2. //
  3. //  HexDoc.h
  4. //
  5. //***********************************************************************
  6.  
  7. class CHexDoc : public CDocument
  8. {
  9.     DECLARE_DYNCREATE (CHexDoc)
  10.  
  11. private:
  12.     UINT m_nDocLength;
  13.     BYTE* m_pFileData;
  14.  
  15. public:
  16.     CHexDoc ();
  17.     virtual void DeleteContents ();
  18.     virtual void Serialize (CArchive&);
  19.     UINT GetBytes (UINT, UINT, PVOID);
  20.     UINT GetDocumentLength ();
  21. };
  22.